home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19950726-19950929
/
000151_news@columbia.edu_Sat Aug 12 01:12:29 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-12-25
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA23793
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Sun, 13 Aug 1995 23:09:50 -0400
Received: by apakabar.cc.columbia.edu id AA06623
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Sun, 13 Aug 1995 23:09:49 -0400
Path: news.columbia.edu!spcuna!solaris.cc.vt.edu!news.mathworks.com!news.kei.com!travelers.mail.cornell.edu!newstand.syr.edu!usenet
From: vefatica@syr.edu (Vincent Fatica)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Breaking out of a auto-redial script?
Date: Sat, 12 Aug 1995 01:12:29 GMT
Organization: Syracuse University
Lines: 43
Message-Id: <40gv11$edt@newstand.syr.edu>
References: <40gdid$1gdu@rover.ucs.ualberta.ca>
Reply-To: vefatica@syr.edu
Nntp-Posting-Host: sudial-93.syr.edu
X-Newsreader: Forte Free Agent 1.0.82
Apparently-To: kermit.misc@watsun.cc.columbia.edu
crossman@dc-next.ucs.ualberta.ca (Ken Crossman) wrote:
>We have a Mskermit 3.13 script which will auto-redial our modem pool
>until it gets a free modem.
>This can be a time consuming process, 100s of attempts, so we would
>like to have the option of breaking out of the script loop.
>So far no key-strokes seem capable of doing this ie it dials until it
>gets a free modem and nothing stops it .
Ken,
I seem to recall having to deal with the same problem. If I remember
correctly, I inserted something like
set alarm 2
if not alarm end 1
in the redial loop. It did not make my redialing slower since it replaced a
"pause 2" which gave the modem time to regroup before redialing. If a key is
pressed during these 2 seconds, the "set alarm 2" command is interrupted;
the alarm does not expire, "not alarm" is TRUE, and the script exits, the
return code of 1 indicating failure. It's still a little hard to hit a key
at just the right time. Prefixing the two lines above with
echo Keystroke NOW to abort!!!
helps a bit.
I hope it helps.
- Vince
>Any ideas out there?
*************************************
Vincent Fatica
Syracuse University Mathematics
vefatica@syr.edu
*************************************